package com.sunshine.ssm.test.innerClass;

/**
 * @Description:
 * @author: Hong.Wei
 * @Date: 2017/2/10 15:14
 */
public class InnerClass {
    class A {
        int a = 10;

        void b() {
            System.out.println(a);
        }
    }


    public static void main(String[] args) {
        InnerClass ic = new InnerClass();
        InnerClass.A a = ic.new A();
        a.b();
        //A a = ic.new A();
        //a.b();
    }
}
